﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Traceability.Domain.Slaughters
{
    /// <summary>
    /// 屠宰企业信息
    /// </summary>
    public class SlaughteEnterprise
    {
        [Key]
        public int SlaughteEnterpriseId { get; set; }
        /// <summary>
        /// 商品编号
        /// </summary>
        public string ProductCode { get; set; }
        /// <summary>
        /// 公司名称
        /// </summary>
        public string CompanyName { get; set; }
        /// <summary>
        /// 成立时间
        /// </summary>
        public DateTime FoundTime { get; set; } = DateTime.Now;
        /// <summary>
        /// 公司地址
        /// </summary>
        public string CompanyAddr { get; set; }
        /// <summary>
        /// 公司简介
        /// </summary>
        public string CompanySynopsis { get; set; }
        /// <summary>
        /// 添加人
        /// </summary>
        public string CreatePerson { get; set; }
        public DateTime CreateTime { get; set; } = DateTime.Now;

    }
}
